const collapsedReducer = (prevState = false, action) => {
  let { type, payload } = action;
  switch (type) {
    case "mySidemenuCollapsed":  
      return payload
    default:
      return prevState
  }
}

export default collapsedReducer